<center>
	<script>
		list_table = $('#list_user').dataTable({
			"bFilter" : true,
			"bJQueryUI": true,
			"aLengthMenu": [[10,25,50, 100, -1], [10,25,50,100, "Semua"]],
			"sPaginationType": "full_numbers",
			"oLanguage": {
				"sLengthMenu": "Menampilkan _MENU_ data",
				"sZeroRecords": "Belum ada data reservasi yang tersimpan",
				"sInfoFiltered": "(Hasil filter dari _MAX_ yang didapat)"
			}
		});
	</script>
	<table id="list_user" width="600" border="1">
		<thead>
			<tr>
				<th>No</th>
				<th>NIM</th>
				<th>Nama</th>
				<th>No HP</th>
				<th>Aksi</th>
			</tr>
		</thead>
		<tbody>
			<?php for($i=0;$i<count($list_user);$i++) {?>
			<tr>
				<td align="center"><?php echo ($i+1) ?></td>
				<td align="center"><a href="<?php echo USER?>view_user/<?php echo $list_user[$i]['nim'] ?>"><?php echo $list_user[$i]['nim'] ?></a></td>
				<td align="center"><?php echo $list_user[$i]['nama'] ?></td>
				<td align="center"><?php echo $list_user[$i]['nohp'] ?></td>
				<td align="center">Edit | <a href="<?php echo USER ?>delete_user/<?php echo $list_user[$i]['nim']?>" onclick="return confirm_msg()">Delete</a></td>
			</tr>
			<?php }?>
		</tbody>
	</table>
</center>
